package io.nutz.nutzsite.module.exam.models;

import io.nutz.nutzsite.common.base.BaseModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import org.nutz.dao.entity.annotation.*;
import java.io.Serializable;
		import java.util.Date;
		
/**
 * 批次表 exam_pctime
 * 
 * @author lrw
 * @date 2020-04-08
 */
@Table("exam_pctime")
public class Pctime extends BaseModel implements Serializable {
	private static final long serialVersionUID = 1L;
	
			@Id
		@Column("pc")
	@Comment("批次")
	@ColDefine(type = ColType.VARCHAR, width = 64)
	private Integer pc;

		/** 开始时间 */
	@Column("start_time")
	@Comment("开始时间")
	private Date startTime;

		/** 结束时间 */
	@Column("end_time")
	@Comment("结束时间")
	private Date endTime;

	
	public void setPc(Integer pc) 
	{
		this.pc = pc;
	}

	public Integer getPc() 
	{
		return pc;
	}

	public void setStartTime(Date startTime) 
	{
		this.startTime = startTime;
	}

	public Date getStartTime() 
	{
		return startTime;
	}

	public void setEndTime(Date endTime) 
	{
		this.endTime = endTime;
	}

	public Date getEndTime() 
	{
		return endTime;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pc", getPc())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .toString();
    }
}
